package com.ssmbook2020.bean;

public class User {
	
	private int userid;
	private String username;
	private String password;
	private String email;
	private String phone;
	
	
	
	@Override
	public String toString() {
		return "User [userid=" + userid + ", username=" + username + ", passwd=" + password + ", email=" + email
				+ ", phone=" + phone + "]";
	}

	public User() {
		super();
	}
	
	public User(String username, String passwd, String email, String phone) {
		super();
		this.username = username;
		this.password = passwd;
		this.email = email;
		this.phone = phone;
	}

	public User(int userid, String username, String passwd, String email, String phone) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = passwd;
		this.email = email;
		this.phone = phone;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	

}
